<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo ($web["stitle"]); ?>-<?php echo ($web["title"]); ?></title>
<meta name="keywords" content="<?php echo ($web["keywords"]); ?>" />
<meta name="description" content="<?php echo ($web["description"]); ?> " />
<meta name="copyright" content="<?php echo C('YiCMS_COPYRIGHT');?>" />
<meta name="author" content="<?php echo C('YICMS_AUTHOR');?>" />
<link href='<?php echo ($style); ?>static/css/style_web.css' rel="stylesheet" type="text/css" />
<script src="/Public/source/jquery.js"></script>
<script charset="utf-8" src="<?php echo ($style); ?>static/js/header.js"></script>
<script src="<?php echo ($style); ?>static/js/jquery.artZoom.min.js"></script>
<script>
jQuery(function ($) {
	$('.artZoom').artZoom({
		path: '<?php echo ($style); ?>static/css/img',	// 设置artZoom图片文件夹路径
		preload: true,		// 设置是否提前缓存视野内的大图片
		blur: true,			// 设置加载大图是否有模糊变清晰的效果
		
		// 语言设置
		left: '左旋转',		// 左旋转按钮文字
		right: '右旋转',		// 右旋转按钮文字
		source: '看原图'		// 查看原图按钮文字
	});
	
});
</script>
<link rel="stylesheet" type="text/css" href="/Public/source/dialog/css/jquery.lightbox.css" />
<!--[if IE 6]>
	<link rel="stylesheet" type="text/css" href="/Public/source/dialog/css/jquery.lightbox.ie6.css" />
<![endif]-->
<script type="text/javascript" src="/Public/source/dialog/jquery.lightbox.min.js"></script>
<script type="text/javascript">
	jQuery(document).ready(function($){
		$('.lightbox').lightbox();
	});
</script>
<!--[if IE 6]>
	<script src="<?php echo $YICMS_PUBLIC;?>/source/DD_belatedPNG.js"></script>
	<script>
		DD_belatedPNG.fix('.png_bg');
	</script>
<![endif]-->
</head>
<body>
<a name="top"></a>
<div class="head">
<div class="content-block png_bg">
<div class="logo"><a href="/"><?php echo ($web["stitle"]); ?></a></div>
<div class="userbar">
<script language="javascript" type="text/javascript" src="<?php echo C('URL');?>/index.php/Qqlogin/log"></script>
</div>
</div>
</div>
<div class="menu-bar clearfix">
<div class="content-block">
<div class="menu">
	<ul>
		<li class="menuout"><a href="/best" <?php if($_GET['_URL_'][1] == 'best'): ?>id="highlight"<?php endif; ?>>热门</a></li>
		<li class="menuout" onMouseOver="this.className='menuover'" onMouseOut="this.className='menuout'" style="width:93px;">
			<a href="/day" class="submenutitle" <?php if($_GET['_URL_'][1] == 'day' || $_GET['_URL_'][1] == 'week' || $_GET['_URL_'][1] == 'month'): ?>id="highlight"<?php endif; ?>>精华</a>
			<a href="/day" class="submenu">24小时内</a>
			<a href="/week" class="submenu">7天内</a>
			<a href="/month" class="submenu">30天内</a>
		</li>
	
		<?php $_result=D('Nav')->nav('pid = 1','10','highlight','a','li'); if($_result): $i=0;foreach($_result as $key=>$nav):++$i; echo ($nav["url"]); endforeach; endif;?>
	
		<li class="menuout"><a href="/history" <?php if($_GET['_URL_'][1] == 'history'): ?>id="highlight"<?php endif; ?>>穿 越</a></li>
		<li class="menuout"><a href="/ticket?lightbox[iframe]=true&lightbox[width]=770&lightbox[height]=580" class="lightbox">审贴</a></li>
		<li class="menuout"><a href="/user/Publish.htm" <?php if($_GET['_URL_'][1] == 'user'): ?>id="highlight"<?php endif; ?>>发表</a></li>
	</ul>
</div>
<script>
		function seach(){
			var seachname=$('#seachname').val();
			if(seachname!=null){
				top.location="/tag-"+seachname+'.html';
			}else{
				alert('请输入搜索词');
			}
		}
	 function enter(){    
      var event=arguments.callee.caller.arguments[0]||window.event;//消除浏览器差异    
     if (event.keyCode == 13){    
        seach();    
     }    
 }    
  
	</script>
<div class="search">
		<input type="text"  onkeydown="enter()" id="seachname" size="32" class="input-box"/>
		<input type="button"  onclick="seach()" value="搜索" class="button-box"/>
</div>
</div>
</div>
<?php if(C('opencws') == 1): ?><script src="<?php echo ($style); ?>static/js/nav.js"></script><?php endif; ?>
<div class="main">
<div class="content-block">
<div class="col1">

<?php  $pagelist =D("News")->page(0,1,5,"/index-"); $_result=D('News')->arlist('state = 1',5,0,0,'Y-m-d h:i:s',0,500,0,0,'id desc','id','/index-'); if ($_result){ $i=0;foreach($_result as $key=>$list){++$i;?><div class="block untagged" id="qiushi-<?php echo ($list["id"]); ?>">
<div class="detail1"><a href="<?php echo ($list["url"]); ?>" id="title-<?php echo ($list["id"]); ?>" target="_blank"></a></div>
<!-- 判断 -->
	<?php if(($list['id']) != ""): ?><div class="author" style="height:30px;line-height:30px;margin:0;">
        <?php if($list["title"] != '' ): ?><div style="float:left;line-height:30px;" >标题: <a href="<?php echo ($list["url"]); ?>"><?php echo ($list["title"]); ?></a></div><?php endif; ?>
        <div style="float:<?php if( $list["title"] == '' ): ?>left <?php else: ?> right<?php endif; ?>;line-height:30px;">
            <img src="<?php echo ($list["face"]); ?>" alt="<?php echo ($list["uname"]); ?>"/>
            <?php echo ($list["unameUrl"]); ?>
        </div>
      </div><?php endif; ?>
	<div style="clear:both;"></div>
	<div style="height:10px;line-height:10px;"></div>
</if>	
<div class="content" title="<?php echo ($list["time"]); ?>" id="content-<?php echo ($list["id"]); ?>" >
	<?php echo ($list["content"]); ?> 
</div>
<?php if(!empty($list['pic'])): ?><div class="thumb">
	<a href="<?php echo ($list["mpic"]); ?>" rel="<?php echo ($list["mpic"]); ?>">
		<img class="artZoom"  alt="图片-<?php echo ($list["title"]); ?>" id="img-<?php echo ($list["id"]); ?>" title="图片-<?php echo ($list["title"]); ?>" src="<?php echo ($list["spic"]); ?>" />
	</a>
</div><?php endif; ?>
<?php if(!empty($list['video'])): ?><object width="580" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
		<param name="src" value="<?php echo ($list["video"]); ?>" />
		<param name="quality" value="high" />
		<param name="allowscriptaccess" value="always" />
		<param name="allowfullscreen" value="true" />
		<param name="wmode" value="transparent" />
		<embed src="<?php echo ($list["video"]); ?>" type="application/x-shockwave-flash" width="580" height="400" quality="high" wmode="transparent"  allowscriptaccess="always" allowfullscreen="true"/>
	</object><?php endif; ?>
<?php if($list['tags'] != ''): ?><div class="tags">
	<span class="bti"></span>
		<?php echo ($list["tags"]); ?>			
</div><?php endif; ?>
<?php if(($list['id']) != ""): ?><div class="bar clearfix">
	<div class="up">
		<a href="javascript:vote3(<?php echo ($list["id"]); ?>,1)" id="yes-<?php echo ($list["id"]); ?>"><?php echo ($list["yes"]); ?></a>
	</div>
	<div class="down" style="margin:0 232px 0 10px;">
		<a href="javascript:vote3(<?php echo ($list["id"]); ?>,-1)" id="no-<?php echo ($list["id"]); ?>"><?php echo ($list["no"]); ?></a>
	</div>
	<div class="comment">
		<a href="javascript:show(<?php echo ($list["id"]); ?>)" id="reply-<?php echo ($list["id"]); ?>" class="clist">
			<?php if(empty($list['reply'])): ?>评论
			<?php else: ?>
				<?php echo ($list["reply"]); endif; ?>
		</a>
	</div>

 	<div class="detail" style="width:80px;position: relative;">
		<a target="_blank" style="width:50px;padding-left:30px;zoom:1">分享</a>
		<div class="get-codes-bdshare" style="position:absolute;left:0px;border:1px solid #DFD5CB;display:none;width:80px;margin:29px 0 0;background: white;text-indent: 0;z-index:999;">
			<ul style="width:80px;padding:0px">
				<li style="width:80px;height:28px;">
					<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare" style="width:80px;height:28px;padding:0px" data="{'text':' <?php echo (substr(strip_tags($list["content"]),0,200)); ?>',<?php if($list['pic'] != ''): ?>'pic':'<?php echo ($list["mpic"]); ?>',<?php endif; ?>'url':'<?php echo ($web["url"]); ?>/article-<?php echo ($list["id"]); ?>.html'}">
						<a class="bds_tsina" style="width:80px;border:0px;background-image:none;padding: 8px 12px;background: none;border-radius: 0;float: none;height: auto;line-height: 100%;text-indent: 0;width: auto;border: 0 none;z-index:999;border-bottom: 1px solid #ECE5D8;box-shadow: 0 0 0;cursor: pointer;">新浪微博</a>
					</div>
				</li>
				<li style="width:80px;height:28px;">
					<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare" style="width:80px;height:28px;padding:0px" data="{'text':' <?php echo (substr(strip_tags($list["content"]),0,200)); ?>',<?php if($list['pic'] != ''): ?>'pic':'<?php echo ($list["mpic"]); ?>',<?php endif; ?> 'url':'<?php echo ($web["url"]); ?>/article-<?php echo ($list["id"]); ?>.html'}">
						<a class="bds_qzone" style="border:0px;background-image:none;padding: 8px 12px;background: none;border-radius: 0;float: none;height: auto;line-height: 100%;text-indent: 0;width: 80px;border: 0 none;z-index:999;border-bottom: 1px solid #ECE5D8;box-shadow: 0 0 0;cursor: pointer;">&nbsp;QQ空间</a>
					</div>	
				</li>				
				<li style="width:80px;border:0px;background-image:none;height:28px;">
					<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare" style="width:80px;height:28px;padding:0px" data="{'text':' <?php echo (substr(strip_tags($list["content"]),0,200)); ?>',<?php if($list['pic'] != ''): ?>'pic':'<?php echo ($list["mpic"]); ?>',<?php endif; ?> 'url':'<?php echo ($web["url"]); ?>/article-<?php echo ($list["id"]); ?>.html'}">
						<a class="bds_tqq" style="padding: 8px 12px;background: none;border-radius: 0;float: none;height: auto;line-height: 100%;text-indent: 0;width: auto;border: 0 none;z-index:999;border-bottom: 1px solid #ECE5D8;box-shadow: 0 0 0;cursor: pointer;">腾讯微博</a>
					</div>
				</li>
			</ul>				 
		</div>
	</div> 
	
</div><?php endif; ?>
<div id="showreplay-<?php echo ($list["id"]); ?>"></div>
</div>
<div class="shadow"></div><?php } }?>	

<div class="pagebar">
<?php echo ($pagelist); ?>
</div>

</div>

<div class="col2">

<div class="microblog clearfix">
<h3>收听</h3>
<div class="webchat">
<span>二维码图片</span>
微信扫描二维码
关注糗百,聊糗事
</div>
<ul class="other">
<li>
<a href="http://user.qzone.qq.com/1492495058" target="_blank">
<p>QQ空间</p>
<em>6,430,000</em>
</a>
</li>
<li>
<a href="http://t.qq.com/qiushibaike" target="_blank">
<p>腾讯微博</p>
<em>2,870,000</em>
</a>
</li>
<li>
<a href="http://weibo.com/qiushibaike" target="_blank">
<p>新浪微博</p>
<em>1,030,000</em>
</a>
</li>
<li>
<a href="http://mail.qq.com/cgi-bin/bookcol?colid=314" target="_blank">
<p>Feed订阅</p>
<em>3,090,000</em>
</a>
</li>
</ul>
</div>

<!-- 订阅-->
<div class="tagsblock">
		<h3>订阅我们</h3>
<div class="content">
<!-- Feedsky FEED发布代码开始 -->
<div style="padding:10px 0 10px 20px">
<link title="RSS 2.0" type="application/rss+xml" href="http://feed.feedsky.com/yicms" rel="alternate">
<!-- FEED自动发现标记结束 -->
<a href="http://www.zhuaxia.com/add_channel.php?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_zhuaxia.gif" alt="抓虾" vspace="2" style="margin-bottom:3px"></a>
<a href="http://www.rojo.com/add-subscription?resource=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_rojo.gif" alt="Rojo" vspace="2" style="margin-bottom:3px"></a>
<a href="http://fusion.google.com/add?feedurl=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_google.gif" alt="google reader" vspace="2" style="margin-bottom:3px"></a>
<a href="http://www.netvibes.com/subscribe.php?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_netvibes.gif" alt="netvibes" vspace="2" style="margin-bottom:3px"></a>
<a href="http://add.my.yahoo.com/rss?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_yahoo.gif" alt="my yahoo" vspace="2" style="margin-bottom:3px"></a>
<a href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_newsgator.gif" alt="newsgator" vspace="2" style="margin-bottom:3px"></a>
<a href="http://www.bloglines.com/sub/http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_bloglines.gif" alt="bloglines" vspace="2" style="margin-bottom:3px"></a>
<a href="http://www.xianguo.com/subscribe.php?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_xianguo.gif" alt="鲜果" vspace="2" style="margin-bottom:3px"></a>
<a href="http://inezha.com/add?url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_nazha.gif" alt="哪吒" vspace="2" style="margin-bottom:3px"></a>
<a href="http://reader.youdao.com/b.do?keyfrom=feedsky&url=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_youdao.gif" alt="有道" vspace="2" style="margin-bottom:3px"></a>
<a href="http://mail.qq.com/cgi-bin/feed?u=http://feed.feedsky.com/yicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_qq.gif" alt="QQ邮箱" vspace="2" style="margin-bottom:3px"></a>
<a href="http://yuedu.163.com/instantCustomSub.do?customUrl=http%3A%2F%2Ffeed.feedsky.com%2Fyicms" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot01_yuedu163.gif" alt="网易云阅读" vspace="2" style="margin-bottom:3px"></a>

</div>
	</div>
	</div>
<!-- 订阅结束-->
<!--订阅结束 -->
<div class="shadow"></div>
	<div class="tagsblock">
		<script type="text/javascript">
/*300*250，创建于2012-8-14*/
var cpro_id = "u1022900";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
	</div>
<!-- Feedsky FEED发布代码结束 -->
<div class="shadow"></div>
	<div class="tagsblock">
		<h3>标签</h3>
		<div class="content">
			<?php $_result=D('Tag')->tags('50','m','23','6'); if($_result): $i=0;foreach($_result as $key=>$tags):++$i; echo ($tags["url"]); endforeach; endif;?>	
			<a href="/tags">更多...</a>
		</div>
	</div>
<div class="shadow"></div>
<div class="sponsor">
	<script type="text/javascript">
/*300*250，创建于2012-8-14*/
var cpro_id = "u1022900";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div class="shadow"></div>
<div class="sitelink">
<h3>网址推荐</h3>
<div class="content">
	<?php $_result=M('Flink')->where('state=1')->order('taxis ASC')->limit(0)->select(); if($_result): $i=0;foreach($_result as $key=>$flink):$flink["pic"] = C("URL")."/Public/flink/s_".$flink["pic"];$flink["fullurl"] = "<a href=\"".$flink["url"]."\" title=\"".$flink["title"]."\">".$flink["name"]."</a>";++$i;?><a href="<?php echo ($flink["url"]); ?>" title="<?php echo ($flink["title"]); ?>" target="_blank"><?php echo ($flink["name"]); ?></a><?php endforeach; endif;?>
</div>
</div>
<div class="shadow"></div>
<div id="box">
	<div id="float" class="div1">
		<div id="float-ad" class="sponsor">
			<script type="text/javascript">
/*300*250，创建于2012-8-14*/
var cpro_id = "u1022900";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
		</div>
		<div class="shadow"></div>
		<div class="smartphone">
			<ul id="banner_img">
				<?php $_result=M('Flash')->where('state=1')->order('taxis ASC')->select(); if ($_result): $i=0;foreach($_result as $key=>$flash):$flash["pic"] = C("URL")."/Public/flash/m_".$flash["pic"];$flash["fullpic"] = "<img src=\"".$flash["pic"]."\"  title=\"".$flash["title"]."\" alt=\"".$flash["title"]."\"/>";$flash["fullurl"] = "<a  href=".$flash["url"]." title=\"".$flash["title"]."\"><img src=\"".$flash["pic"]."\"  title=\"".$flash["title"]."\" alt=\"".$flash["title"]."\"/></a>";++$i;?><li><?php echo ($flash["fullurl"]); ?></li><?php endforeach; endif;?>
			</ul>
		</div>
		<div class="toolbar">
			<a href="#top" class="back">回到顶部</a><a href="javascript:showSuggestForm()" class="feedback">意见建议</a>
		</div>
	</div>
</div>
</div>
<!--div class="baidu-sponsor">
 
</div-->
</div>
</div>
</div>
	<div class="foot">
		<div class="copyright">
			
			
			<?php echo ($web["copy"]); ?>
			<p><?php echo ($web["icp"]); ?> / <?php echo ($web["statcode"]); ?></p>
		</div>
	</div>
	<div id="login-form">
		<a href="#" class="close"><div class="bti"></div></a>
		<div class="ie6-fix"></div>
		<div class="col1">
			<h1>欢迎回来</h1>
			<form method="post" action="<?php echo U('User/Index/checkLogin');?>">
				<div class="inputbox">
					<label for="login">用户名或邮箱：</label>
					<input type="text" tabindex="1" name="account" id="login"/>
					<label for="password">密码：(<a href="<?php echo U('User/Index/fetchpass');?>">忘记密码？</a>)</label>
					<input type="password" tabindex="2" name="password" id="password"/>
				</div>
				<button type="submit" name="submit">登录</button>
			<input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /><input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /></form>
		</div>
		<div class="col2">
			<h1>创建账号</h1>
			<div class="intro">
				请珍惜自己的账号，一旦作恶，账号将被永久删除。<br/><br/>
			</div>
			<a href="<?php echo U('User/Index/login');?>" class="button" target="_blank">注册</a>
		</div>
	</div>
	<div id="suggest-form">
		<a href="#" class="close"><div class="bti"></div></a>
		<div class="ie6-fix"></div>
		<div class="form-block">
		<h1>请帮助我们进步</h1>
		<form action="<?php echo U('Index/suggest');?>" method="post">
		<textarea type="text" name="content" tabindex="1"></textarea>
		<button type="submit">提交</button>
		<input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /><input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /></form>
		</div>
	</div>
	<div id="report-form">
		<a href="#" class="close" id="close-form"><div class="bti"></div></a>
		<div class="ie6-fix"></div>
		<div class="form-block">
			<form method="post">
				<strong>请选择理由</strong>
				<input type="hidden" name="comment_id" value=""/>
				<label for='abusive'><input id='abusive' type="radio" name="reason" value="辱骂"/> 辱骂</label>
				<label for='porn'><input id='porn' type="radio" name="reason" value="色情"/> 色情</label>
				<label for='spam'><input id='spam' type="radio" name="reason" value="广告"/> 广告</label>
				<label for='waste'><input id='waste' type="radio" name="reason" value="浪费楼层"/> 浪费楼层</label>
				<input type="submit" value="提交" />
			<input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /><input type="hidden" name="__hash__" value="c10996c73ddb552431481243a1d0516e_3521a0ddc2e1cb177f1d94d65df46a41" /></form>
		</div>
	</div>
<script src="<?php echo ($style); ?>static/js/application.js" type="text/javascript"></script>
    <script type="text/javascript" id="bdshare_js" data="type=tools&mini=1" ></script> 
    <script type="text/javascript" id="bdshell_js"></script> 
    <script type="text/javascript">
	/**
	 * 在这里定义bds_config
	 */
	var bds_config = {};

	document.getElementById('bdshell_js').src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END -->

</body>
</html>